Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Print  Job  Information  

 Content of List Print Job Information.ps1
MD5 Hash: 3B1A6A8A83BACAC330A78ED2EE9FD2B8
$strComputer = "."

$colItems = get-wmiobject -class "Win32_PrintJob" -namespace "root\CIMV2" `
-computername $strComputer

foreach ($objItem in $colItems) {
write-host "Caption: " $objItem.Caption
write-host "Data Type: " $objItem.DataType
write-host "Description: " $objItem.Description
write-host "Document: " $objItem.Document
write-host "Driver Name: " $objItem.DriverName
write-host "Elapsed Time: " $objItem.ElapsedTime
write-host "Host Print Queue: " $objItem.HostPrintQueue
write-host "Installation Date: " $objItem.InstallDate
write-host "Job ID: " $objItem.JobId
write-host "Job Status: " $objItem.JobStatus
write-host "Name: " $objItem.Name
write-host "Notify: " $objItem.Notify
write-host "Owner: " $objItem.Owner
write-host "Pages Printed: " $objItem.PagesPrinted
write-host "Parameters: " $objItem.Parameters
write-host "Print Processor: " $objItem.PrintProcessor
write-host "Priority: " $objItem.Priority
write-host "Size: " $objItem.Size
write-host "Start Time: " $objItem.StartTime
write-host "Status: " $objItem.Status
write-host "Status Mask: " $objItem.StatusMask
write-host "Time Submitted: " $objItem.TimeSubmitted
write-host "Total Pages: " $objItem.TotalPages
write-host "Until Time: " $objItem.UntilTime
write-host
}


   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a